package com.wsg.lightaccounting.Model;

import java.util.Date;

/**
 * Created by dell-pc on 2016/11/9.
 */

public class Income extends Record{
    private long id;
    private float money;
    private long notetype;
    private long moneytype;
    private long incometype;
    private String mark;

    public Income() {
        this.expenditure = false;
    }

    public Income(long id, float money, Date date, long notetype, long moneytype, long incometype, String mark) {
        this.id = id;
        this.money = money;
        this.date = date;
        this.notetype = notetype;
        this.moneytype = moneytype;
        this.incometype = incometype;
        this.mark = mark;
        this.expenditure = false;
        this.type = incometype;

    }
    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public long getNotetype() {
        return notetype;
    }

    public void setNotetype(long notetype) {
        this.notetype = notetype;
    }

    public long getMoneytype() {
        return moneytype;
    }

    public void setMoneytype(long moneytype) {
        this.moneytype = moneytype;
    }

    public long getIncometype() {
        return incometype;
    }

    public void setIncometype(long incometype) {
        this.incometype = incometype;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }
}
